/**
 * 
 */
package com.cms.admin.service.privilege;

import java.util.List;
import java.util.Map;

import com.cms.admin.model.PageBean;
import com.cms.admin.model.UserList;
import com.cms.admin.model.UserListExt;

/**
 * @author bobo
 *
 */
public interface UserListService {

	void insertUser(UserList user);
	List<UserList> getAllUser(PageBean page ,UserListExt search);
	int getRowCount(UserListExt search);
	UserList getById(long id);
	UserList getByName(String userName);
	UserList getByNo(String userNo);
	void deleteUser(String id);
	void updateUser(UserList user);
	int updateUserSelective(UserList record);
	void updateSelfPassword(UserList user);
	void updateSelfInfoById(UserList user);
    void resetUserPassword(UserList user);

}
